﻿Public Class AsignacionEntity
    Inherits EntityBase

    Public Sub New()
    End Sub

    Public Sub New(ByVal tiempo As DateTime, ByVal estado As EstadoEntity, ByVal user As UsuarioEntity, ByVal test As TestEntity, ByVal fecha As DateTime)
        _tiempoLimite = tiempo
        _estado = estado
        _user = user
        _test = test
        _fechaAsignacion = fecha
    End Sub

    Private _tiempoLimite As DateTime
    Public Property TiempoLimite() As DateTime
        Get
            Return _tiempoLimite
        End Get
        Set(ByVal value As DateTime)
            _tiempoLimite = value
        End Set
    End Property

    Private _estado As EstadoEntity
    Public Property Estado() As EstadoEntity
        Get
            Return _estado
        End Get
        Set(ByVal value As EstadoEntity)
            _estado = value
        End Set
    End Property

    Private _user As UsuarioEntity
    Public Property User() As UsuarioEntity
        Get
            Return _user
        End Get
        Set(ByVal value As UsuarioEntity)
            _user = value
        End Set
    End Property

    Private _test As TestEntity
    Public Property Test() As TestEntity
        Get
            Return _test
        End Get
        Set(ByVal value As TestEntity)
            _test = value
        End Set
    End Property

    Private _fechaAsignacion As DateTime
    Public Property FechaAsignacion() As DateTime
        Get
            Return _fechaAsignacion
        End Get
        Set(ByVal value As DateTime)
            _fechaAsignacion = value
        End Set
    End Property

    Public Overrides Function ToString() As String
        Return Me._tiempoLimite
    End Function

End Class
